package faa;

import java.util.*;
import faa.objects.*;

public class RealWorld {
	
	LinkedList<Data> realWorldData = new LinkedList<Data>();
	KnowledgeBase kb;
	
	// Constructor
	
	RealWorld() {
		
	}
	
	// Accessors and Mutators
	
	public void setRealWorldData(LinkedList<Data> realWorldData) {
		this.realWorldData = realWorldData;
	}
	
	public LinkedList<Data> getRealWorldData() {
		return realWorldData;
	}
	
	public void setKnowledgeBase(KnowledgeBase kb) {
		this.kb = kb;
	}
	
	public KnowledgeBase getKnowledgeBase() {
		return kb;
	}
	
	// Messages
	
	public void msgSensorData(LinkedList<Action> newData) {
		System.out.println("The user has committed actions that have changed the realtime data.");
	}
	
	public void updateKnowledgeBase() {
			kb.msgHeresData(realWorldData);
	}
	
}